%%PageItemTitle%%

Compare .NET Objects

Compare .NET Objects
UseObjectHashes Property
See Also  Send Feedback
KellermanSoftware.CompareNetObjects Namespace > LogicEqualityComparer<T> Class : UseObjectHashes Property


Glossary Item Box

Gets or sets a value indicating whether the base object hashes should be used.

Syntax

Visual Basic (Declaration) 
Public Property UseObjectHashes As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As LogicEqualityComparer(Of T)
Dim value As System.Boolean
 
instance.UseObjectHashes = value
 
value = instance.UseObjectHashes
C# 
public System.bool UseObjectHashes {get; set;}
Managed Extensions for C++ 
public: __property System.bool get_UseObjectHashes();
public: __property void set_UseObjectHashes( 
   System.bool value
);

Remarks

False by default to allow CompareLogic to evaluate equivalence of otherwise instance-sensitive hashing objects. NOTE: Any object which doesn't override GetHashCode will behave this way, so this property should generally be left false.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Kellerman Software 2018 All Rights Reserved.